<?php
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.model');
class HelloModelHello extends JModel{
    function getHello(){
        $sql = 'select * from #__hello';
        $this->_db.setQuery($sql);
        return $this->_db_loadObjectList();
    }
}
?>
